package com.bub.pay.core.entity.vo.merchant;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @Author: wing
 * @Date: 2019/5/1 17:39
 */
public class BindIpVo {

    @NotBlank(message="ip地址不能为空")
    @Pattern(regexp = "((?:(?:25[0-5]|2[0-4]\\d|[01]?\\d?\\d)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d?\\d))",message = "ip地址格式不正确")
    private String ip;

    private String remarks;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

}
